<!DOCTYPE html>
<html>
<head>
	<title>g event test</title>
	<script type="text/javascript" src="jquery-1.3.1.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$("#in").bind("my_turn",function(){alert("i am in!");});
			//$("#in").on("my_turn",function(){alert("i am in!");});
			$(".action").click(function(){
				alert("hello");
				$.event.trigger("my_turn");
				//var e = $.Event("my_turn");
				//$.event.trigger(e);
			});
		});
	</script>
</head>
<body>
	<h1>G Event test</h1>
	<p id="in">Hello Event!!!</p>
	<div class="action">
		click me to exp g event!!!
	</div>
</body>
</html>